home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / D-Trash / d-trash Read Me
Encoding:
Text File  |  2001-06-23  |  928 b   |  7 lines

  1. by Steve Wozniak
  2.  
  3. d-trash was inspired by Bill Atkinson's comment that dragging disks to the trash to unmount them was a bad idea. d-trash is an AppleScript. A folder named something *like* trash is given the trash icon and placed over the trash. This folder has to remain open for the AppleScript Folder Action for adding items to a folder to work. The open window can be hidden as a pop-up folder. It's even more hidden when under the Control Strip.
  4.  
  5. So you drag items into the "Trosh" folder that you make, which overlays the real "Trash" folder. If it's not a disk (it's name is not in the list of disks) then it's moved to the real Trash. But if it's a disk, a dialog ensues asking if you want to erase it. I presume that by the suggested UI, this is so logical that it's what the person really wanted to do. But the default choice is Eject. You can elect to erase the disk too.
  6.  
  7. Thanks to Bill Atkinson for the suggestion.